home *** CD-ROM | disk | FTP | other *** search
/ PC go! 2008 April / PCgo 2008-04 (DVD).iso / interface / contents / demoversionen_3846 / 13664 / files / Data1.cab / events.idl < prev    next >
Encoding:
Text File  |  2001-07-10  |  8.0 KB  |  230 lines

  1. $$IF(BeforeExit)
  2.         [helpstring("Event fired by TurboCAD before the Application object quits."), helpcontext(0x103f0001)]
  3.         HRESULT _stdcall BeforeExit(
  4.                         [in] IApplication* TheApp, 
  5.                         [in, out] IMSI_BOOL* Cancel);
  6. $$ENDIF
  7. $$IF(DrawingNew)
  8.  
  9.         [helpstring("Event fired by TurboCAD after a new Drawing object is created."), helpcontext(0x103f0002)]
  10.         HRESULT _stdcall DrawingNew([in] IDrawing* WhichDrawing);
  11. $$ENDIF
  12. $$IF(DrawingOpen)
  13.  
  14.         [helpstring("Event fired by TurboCAD after an existing Drawing object was opened."), helpcontext(0x103f0003)]
  15.         HRESULT _stdcall DrawingOpen([in] IDrawing* WhichDrawing);
  16. $$ENDIF
  17. $$IF(DrawingActivate)
  18.  
  19.         [helpstring("Event fired by TurboCAD after a Drawing object was activated."), helpcontext(0x103f0004)]
  20.         HRESULT _stdcall DrawingActivate([in] IDrawing* WhichDrawing);
  21. $$ENDIF
  22. $$IF(DrawingDeactivate)
  23.  
  24.         [helpstring("Event fired by TurboCAD when a Drawing object will be deactivated."), helpcontext(0x103f0005)]
  25.         HRESULT _stdcall DrawingDeactivate([in] IDrawing* WhichDrawing);
  26. $$ENDIF
  27. $$IF(DrawingBeforeClose)
  28.  
  29.         [helpstring("Event fired by TurboCAD before a Drawing object is closed."), helpcontext(0x103f0006)]
  30.         HRESULT _stdcall DrawingBeforeClose(
  31.                         [in] IDrawing* WhichDrawing, 
  32.                         [in, out] IMSI_BOOL* Cancel);
  33. $$ENDIF
  34. $$IF(DrawingBeforeSave)
  35.  
  36.         [helpstring("Event fired by TurboCAD before a Drawing object is saved."), helpcontext(0x103f0007)]
  37.         HRESULT _stdcall DrawingBeforeSave(
  38.                         [in] IDrawing* WhichDrawing, 
  39.                         [in, out] IMSI_BOOL* SaveAs, 
  40.                         [in, out] IMSI_BOOL* Cancel);
  41. $$ENDIF
  42. $$IF(WindowResize)
  43.  
  44.         [helpstring("Event fired by TurboCAD when a Window object was resized."), helpcontext(0x103f0008)]
  45.         HRESULT _stdcall WindowResize(
  46.                         [in] IDrawing* WhichDrawing, 
  47.                         [in] View* WhichView, 
  48.                         [in] Window* WhichWindow);
  49. $$ENDIF
  50. $$IF(WindowActivate)
  51.  
  52.         [helpstring("Event fired by TurboCAD when a Window object was activated."), helpcontext(0x103f0009)]
  53.         HRESULT _stdcall WindowActivate(
  54.                         [in] IDrawing* WhichDrawing, 
  55.                         [in] View* WhichView, 
  56.                         [in] Window* WhichWindow);
  57. $$ENDIF
  58. $$IF(WindowDeactivate)
  59.  
  60.         [helpstring("Event fired by TurboCAD before a Window object is deactivated."), helpcontext(0x103f000a)]
  61.         HRESULT _stdcall WindowDeactivate(
  62.                         [in] IDrawing* WhichDrawing, 
  63.                         [in] View* WhichView, 
  64.                         [in] Window* WhichWindow);
  65. $$ENDIF
  66. $$IF(MouseDown)
  67.  
  68.         [helpstring("Event fired by TurboCAD when a mouse button was pressed."), helpcontext(0x103f000b)]
  69.         HRESULT _stdcall MouseDown(
  70.                         [in] IDrawing* WhichDrawing, 
  71.                         [in] View* WhichView, 
  72.                         [in] Window* WhichWindow, 
  73.                         [in] ImsiMouseButton Button, 
  74.                         [in] long Shift, 
  75.                         [in] long X, 
  76.                         [in] long Y, 
  77.                         [in, out] IMSI_BOOL* Cancel);
  78. $$ENDIF
  79. $$IF(MouseUp)
  80.  
  81.         [helpstring("Event fired by TurboCAD when a mouse button was released."), helpcontext(0x103f000c)]
  82.         HRESULT _stdcall MouseUp(
  83.                         [in] IDrawing* WhichDrawing, 
  84.                         [in] View* WhichView, 
  85.                         [in] Window* WhichWindow, 
  86.                         [in] ImsiMouseButton Button, 
  87.                         [in] long Shift, 
  88.                         [in] long X, 
  89.                         [in] long Y, 
  90.                         [in, out] IMSI_BOOL* Cancel);
  91. $$ENDIF
  92. $$IF(MouseMove)
  93.  
  94.         [helpstring("Event fired by TurboCAD when the mouse was moved."), helpcontext(0x103f000d)]
  95.         HRESULT _stdcall MouseMove(
  96.                         [in] IDrawing* WhichDrawing, 
  97.                         [in] View* WhichView, 
  98.                         [in] Window* WhichWindow, 
  99.                         [in] long Shift, 
  100.                         [in] long X, 
  101.                         [in] long Y, 
  102.                         [in, out] IMSI_BOOL* Cancel);
  103. $$ENDIF
  104. $$IF(BeforeDoubleClick)
  105.  
  106.         [helpstring("Event fired by TurboCAD before a double click action is taken."), helpcontext(0x103f000e)]
  107.         HRESULT _stdcall BeforeDoubleClick(
  108.                         [in] IDrawing* WhichDrawing, 
  109.                         [in] View* WhichView, 
  110.                         [in] Window* WhichWindow, 
  111.                         [in] Selection* Sel, 
  112.                         [in, out] IMSI_BOOL* Cancel);
  113. $$ENDIF
  114. $$IF(BeforeRightClick)
  115.  
  116.         [helpstring("Event fired by TurboCAD before a right click action is taken."), helpcontext(0x103f000f)]
  117.         HRESULT _stdcall BeforeRightClick(
  118.                         [in] IDrawing* WhichDrawing, 
  119.                         [in] View* WhichView, 
  120.                         [in] Window* WhichWindow, 
  121.                         [in] Selection* Sel, 
  122.                         [in, out] IMSI_BOOL* Cancel);
  123. $$ENDIF
  124. $$IF(SelectionChange)
  125.  
  126.         [helpstring("Event fired by TurboCAD after the Selection object has changed."), helpcontext(0x103f0010)]
  127.         HRESULT _stdcall SelectionChange(
  128.                         [in] IDrawing* WhichDrawing, 
  129.                         [in] View* WhichView, 
  130.                         [in] Window* WhichWindow, 
  131.                         [in] Selection* Sel);
  132. $$ENDIF
  133. $$IF(CommandBarControlHit)
  134.  
  135.         [helpstring("Event fired by TurboCAD when a CommandBarControl object was hit."), helpcontext(0x103f0011)]
  136.         HRESULT _stdcall CommandBarControlHit(
  137.                         [in] CommandBarControl* WhichControl, 
  138.                         [in, out] IMSI_BOOL* Cancel);
  139. $$ENDIF
  140. $$IF(CommandBarControlStatus)
  141.  
  142.         [helpstring("Event fired by TurboCAD to inquire on the status of a CommandBarControl object."), helpcontext(0x103f0012)]
  143.         HRESULT _stdcall CommandBarControlStatus([in] CommandBarControl* WhichControl);
  144. $$ENDIF
  145. $$IF(RunTool)
  146.  
  147.         [helpstring("Event fired by TurboCAD when a Tool object is activated."), helpcontext(0x103f0013)]
  148.         HRESULT _stdcall RunTool([in] Tool* WhichTool);
  149. $$ENDIF
  150. $$IF(PointSnapped)
  151.  
  152.         [helpstring("Event fired by TurboCAD when a point was picked in a View object."), helpcontext(0x103f0014)]
  153.         HRESULT _stdcall PointSnapped(
  154.                         [in] IDrawing* WhichDrawing, 
  155.                         [in] View* WhichView, 
  156.                         [in] long X, 
  157.                         [in] long Y, 
  158.                         [in] IVertex* PointRaw, 
  159.                         [in] IVertex* PointSnapped);
  160. $$ENDIF
  161. $$IF(PointPick)
  162.  
  163.         [helpstring("Event fired by TurboCAD when a point pick operation was completed or canceled."), helpcontext(0x103f0015)]
  164.         HRESULT _stdcall PointPick(
  165.                         [in] IDrawing* WhichDrawing, 
  166.                         [in] View* WhichView, 
  167.                         [in] PickResult* Result, 
  168.                         [in] IMSI_BOOL PickWasCanceled);
  169. $$ENDIF
  170. $$IF(RectanglePick)
  171.  
  172.         [helpstring("Event fired by TurboCAD when a rectangle pick operation was completed or canceled."), helpcontext(0x103f0016)]
  173.         HRESULT _stdcall RectanglePick(
  174.                         [in] IDrawing* WhichDrawing, 
  175.                         [in] View* WhichView, 
  176.                         [in] PickResult* Result, 
  177.                         [in] IMSI_BOOL PickWasCanceled);
  178. $$ENDIF
  179. $$IF(PolygonPick)
  180.  
  181.         [helpstring("Event fired by TurboCAD when a polygon pick operation was completed or canceled."), helpcontext(0x103f0017)]
  182.         HRESULT _stdcall PolygonPick(
  183.                         [in] IDrawing* WhichDrawing, 
  184.                         [in] View* WhichView, 
  185.                         [in] PickResult* Result, 
  186.                         [in] IMSI_BOOL PickWasCanceled);
  187. $$ENDIF
  188. $$IF(ViewBeforeRedraw)
  189.  
  190.         [helpstring("Event fired by TurboCAD before a View object is redrawn."), helpcontext(0x103f0018)]
  191.         HRESULT _stdcall ViewBeforeRedraw(
  192.                         [in] IDrawing* WhichDrawing, 
  193.                         [in] View* WhichView);
  194. $$ENDIF
  195. $$IF(ViewAfterRedraw)
  196.  
  197.         [helpstring("Event fired by TurboCAD after a View object was redrawn."), helpcontext(0x103f0019)]
  198.         HRESULT _stdcall ViewAfterRedraw(
  199.                         [in] IDrawing* WhichDrawing, 
  200.                         [in] View* WhichView);
  201. $$ENDIF
  202. $$IF(VirtualIntersectionPick)
  203.  
  204.         [helpstring("Event fired by TurboCAD when a virtual intersection pick operation was completed or canceled."), helpcontext(0x103f001a)]
  205.         HRESULT _stdcall VirtualIntersectionPick(
  206.                         [in] IDrawing* WhichDrawing, 
  207.                         [in] View* WhichView, 
  208.                         [in] PickResult* Result, 
  209.                         [in] IMSI_BOOL PickWasCanceled);
  210. $$ENDIF
  211. $$IF(CommandBarControlDone)
  212.  
  213.         [helpstring("Event fired by TurboCAD after the command has finished."), helpcontext(0x103f001b)]
  214.         HRESULT _stdcall CommandBarControlDone([in] CommandBarControl* WhichControl);
  215. $$ENDIF
  216. $$IF(Drop)
  217.  
  218.         [helpstring("Event fired by TurboCAD after something was dropped into a drawing."), helpcontext(0x103f001c)]
  219.         HRESULT _stdcall Drop(
  220.                         [in] IDrawing* WhichDrawing, 
  221.                         [in] View* WhichView, 
  222.                         [in] Window* WhichWindow, 
  223.                         [in] Selection* Sel);
  224. $$ENDIF
  225. $$IF(DrawingAfterSave)
  226.  
  227.         [helpstring("Event fired by TurboCAD after a Drawing object is saved."), helpcontext(0x103f001d)]
  228.         HRESULT _stdcall DrawingAfterSave([in] IDrawing* WhichDrawing);
  229. $$ENDIF
  230.